package com.soft.javase.ch02.test04;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/18
 */
public class Test {
    public static void main(String[] args) {
        Employee emp = new Employee("小牛吗","员工宿舍",8000);
        Manager manager = new Manager("汪经理","碧桂园",100000,"研发部");
        Director director = new Director("汪董事","汤臣一品",500000,5000);

        System.out.println("-----------------员工------------------");
        emp.show();
        System.out.println("-----------------经理-------------------");
        manager.show();
        System.out.println("-----------------董事--------------------");
        director.show();
    }
}
